/*
 *  AMacFileLocator.h
 *  
 *
 *  Created by Peter on 23.02.12.
 *  Copyright 2012 __MyCompanyName__. All rights reserved.
 *
 */

#ifndef A_MAC_FILE_LOCATOR_H
#define A_MAC_FILE_LOCATOR_H

#include "AObject.h"
#include "AStream.h"

#include <string>

// This doesn't do any reading or writing, but it would be cool to have if we
// ever want to actually implement functionality beyond storing plain data.
class AFileLocator : public AObject
{
	
public:
	
	A_DECLARE_CLASS( '----', AFileLocator, AObject );
	
};

class AMacFileLocator : public AFileLocator
{

public:
	
	A_DECLARE_CLASS( 'FILE', AMacFileLocator, AFileLocator );
	
	void readFromStream( AStream& str, const AObjDoc& objd );
	void dump( std::ostream& str ) const;

	std::string _pathName;
	std::string _posixPathName;
};

#endif /*Inclusion Guard*/